home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MPW Oberon 2.1168 / OExamples / TESample.make < prev    next >
Encoding:
Text File  |  1994-12-08  |  2.3 KB  |  72 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple TextEdit Sample Application
  5. #
  6. #    TESample
  7. #
  8. #    TESample.make    -    Make Source
  9. #
  10. #    Copyright © 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89
  17. #                1.03                06/89
  18. #
  19. #    Components:
  20. #                TESample.p            Feb.  1, 1990
  21. #                TESampleGlue.a        Feb.  1, 1990
  22. #                TESample.r            Feb.  1, 1990
  23. #                TESample.h            Feb.  1, 1990
  24. #                TESample.make        Feb.  1, 1990
  25. #
  26. #    TESample is an example application that demonstrates how 
  27. #    to initialize the commonly used toolbox managers, operate 
  28. #    successfully under MultiFinder, handle desk accessories and 
  29. #    create, grow, and zoom windows. The fundamental TextEdit 
  30. #    toolbox calls and TextEdit autoscroll are demonstrated. It 
  31. #    also shows how to create and maintain scrollbar controls.
  32. #
  33. #    It does not by any means demonstrate all the techniques you 
  34. #    need for a large application. In particular, Sample does not 
  35. #    cover exception handling, multiple windows/documents, 
  36. #    sophisticated memory management, printing, or undo. All of 
  37. #    these are vital parts of a normal full-sized application.
  38. #
  39. #    This application is an example of the form of a Macintosh 
  40. #    application; it is NOT a template. It is NOT intended to be 
  41. #    used as a foundation for the next world-class, best-selling, 
  42. #    600K application. A stick figure drawing of the human body may 
  43. #    be a good example of the form for a painting, but that does not 
  44. #    mean it should be used as the basis for the next Mona Lisa.
  45. #
  46. #    We recommend that you review this program or Sample before 
  47. #    beginning a new application. Sample is a simple app. which doesn’t 
  48. #    use TextEdit or the Control Manager.
  49. #
  50. #     You can define {SymOptions} as "-sym on" or "-sym off" for use with SADE
  51.  
  52. AOptions = {SymOptions}
  53. OOptions = -s {SymOptions}
  54.  
  55. .mod.o ƒ .mod
  56.     Oberon {OOptions} {DepDir}{Default}.mod -o {TargDir}{Default}.mod.o
  57.  
  58. OObjs    =    TESample.mod.o ∂
  59.             TESampleGlue.a.o ∂
  60.             "{Libraries}"Runtime.o ∂
  61.             "{Libraries}"Interface.o ∂
  62.             "{OLibraries}"OberonLib.o
  63.  
  64. TESample        ƒƒ {OObjs} TESample.make
  65.             Link -o {Targ} {OObjs} {SymOptions}
  66.             SetFile {Targ} -t APPL -c 'MOOT' -a B
  67.  
  68. TESample        ƒƒ TESample.r TESample.h TESample.make
  69.             Rez -rd -append -o {Targ} TESample.r
  70.  
  71. TESample.mod.o    ƒƒ TESample.mod TESample.make
  72.